﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="uc_changepass.ascx.cs" Inherits="TDT_Project.Controller.uc_changepass" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<link href="../css/Telerik.css" rel="stylesheet" type="text/css" />
<asp:updatepanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

    <style type="text/css">
        .style5
        {
            width: 235px;
            height: 35px;
        }
        .style8
        {
            height: 35px;
            width: 175px;
        }
        
        .UpdateProgressContent
        {
            padding: 40px;
            border: 1px dashed #C0C0C0;
            background-color: #FFFFFF;
            width: 200px;
            text-align: center;
            vertical-align: bottom;
            z-index: 1001;
            top: 40%;
            margin: 0px;
            margin-left: -141px;
            position: absolute;
        }
        
        .NoUnderLine
        {
            text-decoration: none !important;
        }
        .rcbSlide
        {
            z-index: 8001 !important;
        }
        .RadGrid_Default .rgHeader, .RadGrid_Default th.rgResizeCol
        {
            /*background: none !important;*/
        }
        /*.tdItem
    {
        padding: 0px !important;
    }*/
        .gridWiewHeader
        {
            background-color: #2D79F8 !important;
            padding: 0 !important;
        }
        .rgHeader gridWiewHeader
        {
            padding: 0 !important;
        }
        .gridWiew td
        {
            border: none;
            border-bottom: 1px solid #96CAFF !important;
        }
        .gridWiewHeader tr
        {
            height: 5px !important;
        }
    </style>
    <p>
    </p>
    
    <div style="text-align: center; font-weight: bold; color: Blue;">
        <h3>
            ĐỔI MẬT KHẨU
        </h3>
    </div>
    <div style="width: 863px; padding-top: 10px; margin: auto">
        <table>
        <tr style="height: 10px;">
            <td align="left" colspan="2">
              <strong>  <asp:Label ID="lbMessage" ForeColor="Red" runat="server"></asp:Label> <strong>
            </td>
        </tr>
           
               
              <tr>
                <td class="style5">
                    <strong>Tên đăng nhập: </strong>
                </td>
                <td class="style8">
                        <telerik:RadTextBox ID="txtuser" runat="server" Width="200px" Height="20px"
                            EnableSingleInputRendering="false" ValidationGroup="g1" 
                        MaxLength="500" AutoCompleteType="Disabled"
                            EnableTheming="True" CssClass="RadTextboxWhite">
                        </telerik:RadTextBox>
                </td>
            </tr>
              <tr>
                <td class="style5">
                    <strong>Mật khẩu cũ: </strong>
                </td>
                <td class="style8">
                        <telerik:RadTextBox ID="txtmatkhau" runat="server" Width="200px" Height="20px"
                            EnableSingleInputRendering="false" ValidationGroup="g1" 
                        MaxLength="500" AutoCompleteType="Disabled"
                            EnableTheming="True" CssClass="RadTextboxWhite" TextMode="Password">
                        </telerik:RadTextBox>
                </td>
            </tr>
             <tr>
                <td class="style5">
                    <strong>Mật khẩu mới: </strong>
                </td>
                <td class="style8">
                        <telerik:RadTextBox ID="txt_passnew" runat="server" Width="200px" Height="20px"
                            EnableSingleInputRendering="false" ValidationGroup="g1" 
                        MaxLength="500" AutoCompleteType="Disabled"
                            EnableTheming="True" CssClass="RadTextboxWhite" TextMode="Password">
                        </telerik:RadTextBox>
                </td>
            </tr>
               <tr>
                <td class="style5">
                    <strong>Xác nhận lại mật khẩu mới: </strong>
                </td>
                <td class="style8">
                        <telerik:RadTextBox ID="txtxacnhan_mk" runat="server" Width="200px" Height="20px"
                            EnableSingleInputRendering="false" ValidationGroup="g1" 
                        MaxLength="500" AutoCompleteType="Disabled"
                            EnableTheming="True" CssClass="RadTextboxWhite" TextMode="Password">
                        </telerik:RadTextBox>
                </td>
            </tr>
                
                <tr>
            <td>
            
            </td>  
            <td align="right">
            <telerik:RadButton runat="server" ValidationGroup="p" ID="btnThemmoi" CssClass="RadButton"
                    ButtonType="ToggleButton" HoveredCssClass="RadButtonHover" Text="Lưu" Skin="Telerik" AutoPostBack="true"
                    Width="105px" Height="30px" onclick="btnGhi_Click" >
                </telerik:RadButton>
               
                </td>
                <td>
                    &nbsp;</td> 
             <td>
                 &nbsp;</td>                            
        </tr>
        </table>
         <div style="width: 863px; padding-top: 10px; margin: auto">
    </div>
    </div>
    </ContentTemplate>
</asp:updatepanel>
    <script language="javascript" type="text/javascript">
        function ResetMassage(time, lbMessage) {
            setTimeout(
            function () {
                document.getElementById(lbMessage).innerHTML = "";
            }, time);
        }
</script>